#ifndef _GAL_DEFINES_H_
#define _GAL_DEFINES_H_

/// <summary>
/// MACROS
/// </summary>
#define GAL_CONNECTED       0x01
#define GAL_CONNECTOR_DVI   0x02
#define GAL_CONNECTOR_VGA   0x03
#define GAL_CONNECTOR_TVOUT 0x04
#define GAL_CONNECTOR_HDMI  0x05
#define GAL_DRIVER_PATH "/System/Drivers/Graphics"
#define GAL_MAX_DISPLAYS    8

#define CAIRO_FORMAT_INVALID   = -1,
#define CAIRO_FORMAT_ARGB32    = 0,
#define CAIRO_FORMAT_RGB24     = 1,
#define CAIRO_FORMAT_A8        = 2,
#define CAIRO_FORMAT_A1        = 3,
#define CAIRO_FORMAT_RGB16_565 = 4

#define MIN(a, b) (a < b ? a : b)
#define MAX(a, b) (a > b ? a : b)

#endif